Skip to content

Revert the fix for GH-11498 #11863

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from

Conversation

nielsdos
Copy link
Member

@nielsdos nielsdos commented Aug 2, 2023

People relied on manually waiting for children, but the fix for GH-11498 broke this. Fixing this in PHP is fundamentally incompatible with doing the wait loop in userland. This reverts to the old behaviour.

We should document the behaviour though in the manual, after merging this I'll take a look for doing that.

People relied on manually waiting for children, but the fix for phpGH-11498
broke this. Fixing this in PHP is fundamentally incompatible with doing
the wait loop in userland. This reverts to the old behaviour.
@nielsdos nielsdos force-pushed the revert-pcntl-signal-change branch from 3e817a6 to 9ae65a0 Compare August 2, 2023 19:53
Copy link
Member

@iluuu1994 iluuu1994 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! May we keep the test and adjust it to use pcntl_wait instead? Then we at least gained something from this change and won't accidentally break this again in the future. 🙂

@nielsdos nielsdos closed this in f7be15d Aug 3, 2023
jorgsowa pushed a commit to jorgsowa/php-src that referenced this pull request Aug 16, 2023
People relied on manually waiting for children, but the fix for phpGH-11498
broke this. Fixing this in PHP is fundamentally incompatible with doing
the wait loop in userland. This reverts to the old behaviour.

Closes phpGH-11863.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants